<template>
  <div>
    <el-menu
        :default-active="activeIndex"
        mode="horizontal"
        router
    >
      <div class="flex-grow"/>
      <el-menu-item index="tradeRecordManager">交易记录</el-menu-item>
      <el-menu-item index="newsCrud">新闻管理</el-menu-item>
      <el-menu-item index="caseCrud">案例管理</el-menu-item>
      <el-menu-item index="systemFeedback">系统反馈</el-menu-item>
      <el-menu-item index="tradeManage">交易管理</el-menu-item>
      <el-menu-item index="/home">退出</el-menu-item>
      <img src="../assets/bluelogo.png" alt="" class="top-logo">
    </el-menu>
  </div>

</template>

<script>
export default {
  name: "top-menu-manager",
  data() {
    return {
      activeIndex: '',
    }
  },
  methods: {}
}
</script>

<style scoped>
.top-logo {
  position: relative;
  /*left: 70%;*/
  top: 4px;
  border-radius: 10px;
  width: 50px;
  height: 50px
}
.flex-grow {
  flex-grow:0.5;
}
</style>